@import 'animate.css';

:root {
    --shadow-none: none;
    --shadow-1-down: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
    --shadow-2-down: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
    --shadow-3-down: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
}

@import "react-grid-layout/css/styles.css";

@font-face {
    font-family: PingFang;
    src: url("https://image.ljkjkf.com/intellisiteSystem_TieKe/ttf/PingFang SC.ttf");
}

@font-face {
    font-family: FZXBSK;
    src: url("https://image.ljkjkf.com/intellisiteSystem_TieKe/ttf/方正小标宋_GBK.TTF");
}

@font-face {
    font-family: ShuHeiTi;
    src: url("https://image.ljkjkf.com/intellisiteSystem_TieKe/ttf/Alimama_ShuHeiTi_Bold.ttf");
}

@font-face {
    font-family: BiaoTiHei;
    src: url("https://image.ljkjkf.com/intellisiteSystem_TieKe/ttf/YouSheBiaoTiHei.ttf");
}

@font-face {
    font-family: DIN;
    src: url("https://image.ljkjkf.com/intellisiteSystem_TieKe/ttf/DINCondensedBold.ttf");
}

@font-face {
    font-family: Pixel;
    src: url("https://image.ljkjkf.com/intellisiteSystem_TieKe/ttf/Pixel.ttf");
}

@font-face {
    font-family: HYT; //黄油体
    src: url("https://image.ljkjkf.com/intellisiteSystem_TieKe/ttf/HYT.ttf");
}

@font-face {
    font-family: R-Spectr;
    src: url("https://image.ljkjkf.com/intellisiteSystem_TieKe/ttf/R-Spectr.ttf");
}

@font-face {
    font-family: FZXBSK;
    src: url("https://image.ljkjkf.com/intellisiteSystem_TieKe/ttf/方正小标宋_GBK.TTF");
}


* {
    padding: 0;
    margin: 0;
    overscroll-behavior: none;
    box-sizing: border-box;
}

*::-webkit-scrollbar-button {
    height: 0;
    width: 0;
    display: none;
}

img {
    display: block;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.FormLabelClass {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    width: 100%;
    user-select: none;

    &>.Title {
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: ShuHeiTi;
        font-size: 24px;
        font-weight: bold;
        color: #262626;
    }

    &>.Label {
        position: absolute;
        z-index: 2;
        left: 8px;
        top: -12px;
        padding: 2px 4px;
        border-radius: 4px;
        font-family: ShuHeiTi;
        font-size: 16px;
        font-weight: bold;
        color: #262626;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        user-select: none;
        pointer-events: none;
    }

    &>*:last-child {
        width: 100%;

        &.ant-radio-group {
            height: 64px;
        }

        &.IconInput {
            height: 160px;
            background: #fff;
            border-radius: 4px;
            padding: 8px;
            overflow-y: scroll;
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            flex-wrap: wrap;
            border: 1px solid #d9d9d9;

            &>div {
                width: 32px;
                height: 32px;
                background: transparent;
                color: #262626;
                font-size: 24px;
                margin: 4px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                border-radius: 4px;
                transition: all 0.35s;

                &.active {
                    color: #ffffff;
                    background: #1677ff;
                }

                &:hover {
                    background: rgba(0, 0, 0, 0.35);
                    color: white;
                }
            }

            &::-webkit-scrollbar {
                display: none;
            }
        }

        &.Slider {
            display: flex;
            align-items: center;
            justify-content: center;

            .ant-slider {
                flex: 1;
                margin: 0 16px;
            }


            .ant-input-number {
                width: 120px;
            }
        }
    }

    .ant-input-number,
    .ant-picker,
    .ant-color-picker-trigger,
    .ant-color-picker-clear::after {
        width: 100%;
    }

    .ant-input-affix-wrapper,
    .ant-input-outlined,
    .ant-select-single,
    .ant-input-number-input,
    .ant-picker,
    .ant-color-picker-trigger {
        height: 64px;
    }

    .ant-input-number-input {
        font-size: 24px;
        font-family: Pixel;
    }


    .ant-color-picker-color-block,
    .ant-color-picker-clear {
        width: 100%;
        height: 100%;
    }

    .ant-form-item-row {
        position: relative;
        z-index: 1;
    }

    textarea,
    .ant-input,
    .ant-select-selector,
    .ant-picker-suffix,
    .ant-input-suffix,
    .ant-select-arrow {
        font-size: 20px;
        font-family: ShuHeiTi;
    }

    .ant-select-selection-overflow {
        min-height: 60px;
        max-height: 120px;
        overflow-y: scroll;

        &::-webkit-scrollbar {
            display: none;
        }

    }

    .ant-select-selection-item {
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: PingFang;
        font-weight: 600;
        font-size: 20px;
        color: #262626;

        .anticon-close {
            font-size: 16px;
            padding: 8px;
        }
    }


    .ant-radio-group {
        display: flex;
        align-items: center;
        justify-content: center;

        &>label {
            flex: 1;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 600;
        }
    }


    .ant-select-selection-item {
        height: auto;
        line-height: 24px;
        padding: 4px;
    }
}

.FormCollapse {
    width: 100%;
    margin-top: 16px;

    .ant-collapse-header {
        background: #f8f8f8;
        border-radius: 0 !important;
    }
}


.ADMIN_OPTION {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 480px;
    height: 100%;
    border-radius: 0 24px 24px 0;
    background: rgba(38, 38, 38, 0.35);
    backdrop-filter: blur(8px);
    transition: 1000ms all cubic-bezier(0.19, 1, 0.22, 1);

    &>.ADMIN_OPTION_NAV {
        position: absolute;
        top: 0;
        right: 0;
        width: 120px;
        height: 100%;
        z-index: -1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        filter: url(#goo);
        background: #262626;

        &>.ADMIN_OPTION_NAV_CLOSE {
            position: absolute;
            left: 0;
            top: 0;
            width: 120px;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            user-select: none;
            font-family: ShuHeiTi;
            font-weight: bold;
            font-size: 18px;
            color: #FEFFFA;
            filter: drop-shadow(1px 1px 1px #262626);
        }

        &>.ADMIN_OPTION_NAVITEM {
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            transition: all 1.5s;
            background: radial-gradient(circle at 50% 50%, rgba(38, 38, 38, 1), rgba(38, 38, 38, 0));

            &>div {
                padding: 40px;
                margin-left: 2px;
                font-family: ShuHeiTi;
                font-weight: bold;
                font-size: 18px;
                color: #FEFFFA;
                filter: drop-shadow(1px 1px 1px #262626);
                cursor: pointer;
                user-select: none;
                border-radius: 50%;
            }
        }
    }

    &>.ADMIN_OPTION_LIST {
        width: 360px;
        height: 100%;
        padding: 16px;
        overflow-y: scroll;

        &::-webkit-scrollbar {
            display: none;
        }

        &>div {
            padding: 24px;
            margin-bottom: 16px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            user-select: none;
            cursor: pointer;

            &>div:first-child {
                font-family: ShuHeiTi;
                font-weight: bold;
                font-size: 24px;
                color: #FEFFFA;
            }

            &>div:last-child {
                font-family: PingFang;
                font-weight: bold;
                font-size: 16px;
                color: #FEFFFA;
                text-align: center;
            }
        }
    }

    svg {
        display: none;
    }





}

.ant-select-tree {
    background: transparent !important;
}

.ant-select-dropdown,
.ant-picker-panel-container,
.ant-drawer-content,
.ant-notification-notice-wrapper,
.ant-dropdown-menu,
.ant-message-notice-content,
.ant-popover-inner {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(8px);
}

.ant-popover-title {
    font-size: 24px;
    font-family: ShuHeiTi;
    font-weight: bold;
    color: #fff;
    filter: drop-shadow(1px 1px 1px #262626);
}

.ant-message-custom-content {
    &>span {
        font-size: 16px;
        font-family: ShuHeiTi;
        font-weight: bold;
        color: #fff;
        filter: drop-shadow(1px 1px 1px #262626);
    }
}

.ant-dropdown-menu-submenu-title {
    align-items: center;
}

.ant-dropdown-menu-item,
.ant-dropdown-menu-submenu-title {
    padding: 0 !important;
}

.ant-dropdown-menu-item-group-title {
    font-size: 16px;
    font-family: ShuHeiTi;
    color: #262626;
    user-select: none;
}

.ant-dropdown-menu-title-content {

    &>button {
        width: 100%;
        height: 100%;
        padding: 8px 32px 8px 16px;
        justify-content: flex-start;

        &>.ant-btn-icon {
            font-size: var(--iconSize);
            filter: var(--iconFilter);
        }

        &>span:last-child {
            font-size: var(--fontSize);
            font-family: var(--fontFamily);
            font-weight: var(--fontWeight);
            font-style: var(--fontStyle);
            filter: var(--fontFilter);
        }
    }
}

.ant-notification-notice-wrapper {
    font-family: ShuHeiTi;
}


.ant-drawer-header-title {
    button {
        font-size: 24px !important;
        color: #262626;
        filter: drop-shadow(1px 1px 1px #262626);
    }

    .ant-drawer-title {
        font-family: ShuHeiTi;
        font-weight: bold !important;
        font-size: 24px !important;
        color: #262626;
        filter: drop-shadow(1px 1px 1px #262626);
    }
}

.winbox.focus {
    z-index: 9999 !important;
}

.ant-tooltip-inner {
    white-space: pre-wrap;
}